/**
 * This file is Copyright © 2008 Software Craftsmen Limited. All Rights Reserved.
 */
package com.softwarecraftsmen.functors;

import org.jetbrains.annotations.NotNull;

public final class DoWhile
{
	public static void doWhile(final @NotNull NullaryReturningFunctor<Boolean> loopBlock)
	{
		do{} while(loopBlock.closure().isTrue());
	}

	private DoWhile()
	{}
}
